<%@page import="support.*, java.util.*" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Applicant Registration</title>
</head>
<body>

    <%
    // Checks if there is an error message
    String error = (String)session.getAttribute("error");
    if(error != null && !error.equals("")){
        out.print(error);
        session.setAttribute("error","");
    }
    %>
    
    <form method="GET" action="registrationconfirmation.jsp">
        User Name: <input type="text"  size="20" name="username" maxlength="20"/><p />
        Password: <input type="text" size="20" name="password" maxlength="20"/><p />
        Retype Password: <input type="text" size="20" name="passwordcheck" maxlength="20"/><p />
        Email: <input type="text" size="20" name="email" maxlength="20"/><p />
        
    <input type=submit onClick="return confirm('Are you sure you want to register')" name="Submit"/>
    </form>
    
    <br><br><br><a href="/Application_Submission/account.do">Already Registered?</a>
</body>
</html>